package cc.lj.internal.coupons.infrastructure.po;


import cc.lj.internal.core.model.BaseModel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@TableName("multiple_model")
public class MultipleModelPO extends BaseModel {
    private Integer id;
    private Integer capId;
    private BigDecimal multipleNum;
    private Integer dayNum;
    private String modelValue;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT) // 插入时自动填充,只对po起作用
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE) // 更新时自动填充,只对po起作用
    private LocalDateTime updateTime;
}
